package org.hairball;

public class ConfigurationBuilder {
    private String packageToIgnore;

    public Configuration build() {
        if (packageToIgnore != null) {
            return new Configuration(null, null, null, null, packageToIgnore);
        } else {
            return new Configuration(null, null, null, null);
        }
    }

    public ConfigurationBuilder includingPackage(String packageToIgnore) {
        this.packageToIgnore = packageToIgnore;
        return this;
    }
}
